520 views

### Solve the differential equation: e^(2y) * (dy/dx) + tan(x) = 0, given that y = 0 when x = 0. Give your answer in the form y = f(x).

This is a question taken from a core 4 paper and is a typical example of a differential equation question.

The first thing to notice about this equation is that it is "separable", meaning we can rearrange it to get

e^(2y) dy = - tan(x) dx

Now we can solve this by integrating both sides. We know how to integrate the left hand side, and we get (1/2)e^(2y), but how can we integrate -tan(x)?

To see how we can do this, we write

-tan(x) = -sin(x) / cos(x)

Then, we realise that the numerator is the derivative of the denominator, and so integrating -tan(x) gives ln(|cos(x)|) + C, where C is the constant of integration.

So, we now have that

(1/2)e^(2y) = ln(|cos(x)|) + C

Now we apply the condition that y(x=0) = 0, giving

1/2 = C

Subbing this in, we have

(1/2)e^(2y) = ln(|cos(x)|) + 1/2

Therefore

e^(2y) = 2ln(|cos(x)|) + 1

The question asked for the answer to be written in the form y = f(x), and so we need to get the y out of the exponent, which we can do by taking ln of both sides to give

2y = ln( 1 + 2ln(|cos(x)|)  )

And so the final answer is

y = (1/2) ln( 1 + 2ln(|cos(x)|) )

10 months ago

Answered by Dominic, an A Level Maths tutor with MyTutor

## Still stuck? Get one-to-one help from a personally interviewed subject specialist

#### 423 SUBJECT SPECIALISTS

£20 /hr

Degree: Chemical Engineering MEng (Integrated Masters) - Newcastle University

Subjects offered:Maths, Chemistry

Maths
Chemistry

“I love maths, chemistry and biology and my passion for these subjects is something that will help teach students.”

MyTutor guarantee

£20 /hr

Degree: Computer Science (Bachelors) - Warwick University

Subjects offered:Maths, Physics+ 1 more

Maths
Physics
Computing

“Maths and Computer Science lover. With a patient, thorough and friendly teaching style.”

£30 /hr

Degree: Mathematics (Masters) - Warwick University

Subjects offered:Maths, Further Mathematics

Maths
Further Mathematics

“2nd year Maths student at Warwick, after a few tutorials you'll see Maths isn't the scary, hard subject most people think it is - it's actually really fun!”

Currently unavailable: for new students

Degree: MSci Theoretical Physics (Masters) - Birmingham University

Subjects offered:Maths, Physics+ 1 more

Maths
Physics
Further Mathematics

“Hi, I'm Dom, a fourth year MSci Theoretical Physics student and experienced tutor.”

### You may also like...

#### Other A Level Maths questions

A circle is given by the equation x^2+y^2-20x-24y+195=0. Draw this circle.

How do I know which method of diffirentiation to use?

Solve the differential equation dy/dx=(y^(1/2))*sin(x/2) to find y in terms of x.

How do you find an angle in a right-angled triangle when you are given two of its side's lengths?

We use cookies to improve your site experience. By continuing to use this website, we'll assume that you're OK with this.