Skip to content
doubtly
Topic: Differential Equations· Mathematics

The solution of the differential equation dy/ dx+y/x= x is

A. \(xy+\cos x=\sin x+c\), where c is a constant of integration.

B. \(x(y+\cos x)=\sin x+c\), where c is a constant of integration.

C. \(y(x+\cos x)=\sin x+c\), where c is a constant of integration.

D. \(xy+\sin x=\cos x+c\), where c is a constant of integration.

1 answer

Best answer

Answer: (B) \(x(y+\cos x)=\sin x+c\), where c is a constant of integration.

Multiplying by the integrating factor \(x\) gives \((xy)'=x\sin x\).

Integration by parts yields \(xy=-x\cos x+\sin x+c\).

Collecting the terms on the left gives \(x(y+\cos x)=\sin x+c\).

Doubtly AI · 3 Dec 2026 AI-generated · not yet verified Report
Was this answer helpful?

Practise this chapter

Mathematics

Take a 10-question test new questions each time · marked instantly · free

Your answer

Log in or create a free account to answer this question.