Question Video: Solving a Separable First Order Differential Equation | Nagwa Question Video: Solving a Separable First Order Differential Equation | Nagwa

# Question Video: Solving a Separable First Order Differential Equation Mathematics • Higher Education

Solve the following differential equation: (π^(π¦) β 5)π¦β² = 2 + cos π₯.

02:23

### Video Transcript

Solve the following differential equation, π to the power π¦ minus five multiplied by π¦ prime equals two add cos of π₯.

Weβre going to solve this first-order differential equation by separating the variables. We firstly remember that π¦ prime is the same as dπ¦ by dπ₯. So, letβs write out our differential equation with this in mind. And our aim when weβre separating the variables is to have functions of π¦ and dπ¦ on one side of the equals and functions of π₯ and dπ₯ on the other side.

Although dπ¦ by dπ₯ isnβt a fraction, we do treat it a little bit like a fraction when weβre trying to separate variables to solve a differential equation. So, we can rewrite our differential equation as π to the power π¦ minus five dπ¦ equals two add cos of π₯ dπ₯. And now, we have our function of π¦ and dπ¦ on one side of the equals and our function of π₯ and dπ₯ on the other side.

Our next step is to integrate both sides of this equation. To integrate the left-hand side, letβs recall the general rule that when we integrate π to the ππ₯ power with respect to π₯, we get one over π multiplied by π to the ππ₯ power plus a constant of integration, π. We also recall that to integrate a constant with respect to π₯, we get ππ₯ add a constant of integration. And so, applying both these rules, we find that π to the power π¦ minus five integrates to π to the power π¦ minus five π¦. And Iβll come to the constants of integration in a moment.

But for now, letβs integrate the right-hand side of this equation, two add cos of π₯, with respect to π₯. Weβve already seen how to integrate constants. So, two integrates to two π₯. And to integrate cos of π₯, we recall a useful cycle. We can see here what each of these functions differentiates to. And if we reverse the arrows, we see what each of these functions integrates to.

So, cos of π₯ integrates to sin of π₯. And if youβre wondering why I havenβt added a constant of integration for any of the terms yet, itβs because we donβt need a constant of integration for each term. We just need one constant of integration, which we can call π. And that gives us our final answer, π to the power π¦ minus five π¦ equals two π₯ add sin of π₯ add π.

## Join Nagwa Classes

Attend live sessions on Nagwa Classes to boost your learning with guidance and advice from an expert teacher!

• Interactive Sessions
• Chat & Messaging
• Realistic Exam Questions