Q.Verify that the function y=acosx+bsinx, where a,b∈R is a solution of the differential equation dx2d2y+y=0.
🔒You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
🔒 Start your 14-day free trial to unlock the full solution →Concept understanding — Verification of Solution
Verifying a Solution of a Differential Equation
A function y=ϕ(x) is called a solution of a differential equation if, when you substitute it and its derivatives into the equation, the two sides become equal for every x in the domain. Verification is the act of carrying out that substitution and checking that it holds as an identity.
The useful point: you do not have to solve the equation to verify a candidate. You are only checking a function that is already handed to you — which is exactly how many exam questions are phrased: "Show that … is a solution of …."
The steps
- From the given y=ϕ(x), compute exactly the derivatives that appear in the equation.
- Substitute y and those derivatives into the left-hand side.
- Simplify and check that it equals the right-hand side for all x (an identity, not just at one point).
Example 1
Verify that y=e−3x is a solution of dx2d2y+dxdy−6y=0.
Here y′=−3e−3x and y′′=9e−3x. Substituting:
9e−3x+(−3e−3x)−6e−3x=(9−3−6)e−3x=0.
The left side is 0 for every x, so y=e−3x is a solution.
Example 2 (a solution with constants)
Verify that y=acosx+bsinx satisfies dx2d2y+y=0 for any constants a,b.
Since y′′=−acosx−bsinx=−y, we get y′′+y=0. It holds for all a,b, so this two-constant family is a solution. …
Concept: Verification of Solution — substitute the given function into the differential equation and check that it satisfies the equation identically.
Step 1: Compute the first derivative:
y=acosx+bsinx
dxdy=−asinx+bcosx
Step 2: Compute the second derivative:
dx2d2y=−acosx−bsinx=−(acosx+bsinx)=−y
Step 3: Substitute into the differential equation: …
The function y=acosx+bsinx satisfies dx2d2y+y=0 because its second derivative is −y, making the sum identically zero for any real a,b.
Why this approach works
When we're asked to verify that a given function is a solution of a differential equation, we don't need to solve anything — we just need to check that plugging the function into the equation makes it true. The differential equation here is second-order linear and homogeneous: dx2d2y+y=0. It says, in words, "the second derivative of y plus y itself equals zero for all x."
The given function is a combination of sine and cosine. The key insight: both sinx and cosx have the property that differentiating them twice brings you back to the negative of the original function. So any linear combination of them will also have that property. That's exactly what the equation demands.
Step-by-step verification
1. Write down the function clearly
We have:
y=acosx+bsinx
where a and b are any real constants.
2. Find the first derivative
Differentiate term by term:
dxdy=−asinx+bcosx
Remember: derivative of cosx is −sinx, and derivative of sinx is cosx.
3. Find the second derivative
Differentiate dxdy:
dx2d2y=−acosx−bsinx
Here, derivative of −sinx is −cosx, and derivative of cosx is −sinx.
4. Observe the pattern
Look at the second derivative:
dx2d2y=−(acosx+bsinx)
But acosx+bsinx is exactly y! So:
dx2d2y=−y …
Method: Verifying a given function is a solution
Use this whenever a question says "Show that ... is a solution of ..." or "Verify that ...". You are NOT asked to solve the equation — only to confirm that a function already handed to you makes the equation an identity.
Steps
Step 1: List exactly which derivatives the equation contains.
Read the differential equation and note the highest derivative present. If it contains dx2d2y, you will need y, y′ and y′′; if only dxdy, you need y and y′. Compute no more than you need.
Step 2: Differentiate the given function, treating every constant as a constant.
Constants such as a, b, c1 are parameters, not functions of x — their derivative is 0. Differentiate term by term.
Step 3: Substitute y and its derivatives into the left-hand side. …
Common Mistakes
Mistake 1: Differentiating the constants a and b.
Why it's wrong: a and b are fixed parameters, not functions of x, so they carry through differentiation unchanged. Treating them as variables corrupts every derivative. Correct approach: differentiate only cosx and sinx, leaving a and b as constant multipliers.
Mistake 2: Sign slips when differentiating trig functions. …
Showing the 12 most recent of 86 on this concept.
- TG EAPCET 2025Set eng-2025-05-03-FN1 markMCQQ.If the differential equation having y=Aex+Bsinx as its general solution is f(x)dx2d2y+g(x)dxdy+h(x)y=0, then f(x)+g(x)+h(x)= (A) cosx−sinx (B) 4sinx (C) 2cosx (D) 0
›Reveal solutionSolution
Eliminating A,B from y=Aex+Bsinx gives (cosx−sinx)y′′+2sinxy′−(sinx+cosx)y=0, so f+g+h=0 — option (D).
Concept. A two‑parameter family y=Aex+Bsinx satisfies a second‑order ODE obtained by eliminating A and B from y,y′,y′′. The Wronskian‑style determinant of {y,ex,sinx} vanishing is exactly that eliminant.
Solution.
- Differentiate:
y=Aex+Bsinx,y′=Aex+Bcosx,y′′=Aex−Bsinx.
- A non‑trivial (A,B) exists iff yy′y′′exexexsinxcosx−sinx=0. …
- TG EAPCET 2025Set eng-2025-05-02-FN1 markMCQQ.If cosxdxdy=ysinx−1, x=(2n+1)2π, n∈Z is the differential equation corresponding to the curve y=f(x) and f(0)=1 then f(x)= (A) (1−x)secx (B) (1−x)cosx (C) x+cosx (D) x+secx
›Reveal solutionSolution
This is a first-order linear ODE. Rewriting it in standard form and using an integrating factor gives f(x)=(1−x)secx, which matches option (A).
We start with the given differential equation:
cosxdxdy=ysinx−1
The goal is to find y=f(x) satisfying f(0)=1, and then match it to one of the options.
Concept and Intuition
The equation is linear in y but not yet in standard form. The standard form for a first-order linear ODE is:
dxdy+P(x)y=Q(x)
Once in this form, we multiply through by an integrating factor μ(x)=e∫P(x)dx, which lets us write the left-hand side as the derivative of μ(x)y. Then we integrate both sides.
Here, dividing by cosx will give us P(x)=−tanx and Q(x)=−secx. The integrating factor simplifies nicely because ∫tanxdx=−log∣cosx∣, so μ(x)=secx.
Step-by-step solution
- Rewrite in standard form Divide both sides by cosx (valid since x=(2n+1)2π):
dxdy=ytanx−secx
Bring the y term to the left:
dxdy−(tanx)y=−secx
So P(x)=−tanx and Q(x)=−secx.
- Find the integrating factor
μ(x)=e∫P(x)dx=e∫−tanxdx
Since ∫tanxdx=−log∣cosx∣, we have:
∫−tanxdx=log∣cosx∣
Hence:
μ(x)=elog∣cosx∣=∣cosx∣
For the domain (where cosx>0 near x=0), we can take μ(x)=cosx. But it's more standard to use secx as the integrating factor when we multiply through — let's check.
Actually, careful: The standard formula is μ=e∫Pdx. With P=−tanx, we get μ=elog(cosx)=cosx (taking positive branch near 0). So the integrating factor is cosx.
- Multiply the ODE by μ(x)=cosx Original ODE in standard form:
dxdy−(tanx)y=−secx
Multiply by cosx:
cosxdxdy−ysinx=−1
Notice the left side is exactly dxd(ycosx) because:
- TG EAPCET 2023Set eng-2023-05-13-AN1 markMCQQ.The general solution of the differential equation (secx+tanx)dxdy+(sec2x+secxtanx)y=1 is (A) (1+sinx)y=ncosx+c (B) (1+cosx)y=xsinx+c (C) (secx+tanx)y=xsecx+c (D) (secx+tanx)y=x+c
›Reveal solutionSolution
This is a first-order linear ODE. Rewriting it in standard form and applying the integrating factor method shows that the general solution is (secx+tanx)y=x+c, which matches option (D).
The key concept is recognizing the equation as a first-order linear differential equation of the form
dxdy+P(x)y=Q(x).
The standard method is to multiply through by an integrating factor μ(x)=e∫Pdx, which makes the left side a perfect derivative. Here, the coefficients are cleverly arranged so that the integrating factor simplifies dramatically.
- Rewrite in standard form The given equation is
(secx+tanx)dxdy+(sec2x+secxtanx)y=1.
Divide through by (secx+tanx) to isolate dxdy:
dxdy+secx+tanxsec2x+secxtanxy=secx+tanx1.
- Simplify the coefficient of y Factor the numerator: sec2x+secxtanx=secx(secx+tanx). Hence
secx+tanxsec2x+secxtanx=secx.
So the ODE becomes
dxdy+(secx)y=secx+tanx1.
- Find the integrating factor
μ(x)=e∫secxdx.
A standard integral: ∫secxdx=log∣secx+tanx∣+C.
Thus
μ(x)=elog∣secx+tanx∣=secx+tanx.
(We take the positive branch for typical intervals.)
- Multiply through by μ(x)
(secx+tanx)dxdy+(secx+tanx)(secx)y=1.
Notice the left side is exactly the derivative of (secx+tanx)y because
dxd[(secx+tanx)y]=(secx+tanx)dxdy+(secxtanx+sec2x)y, …
- TG EAPCET 2021Set eng-2021-08-04-FN1 markMCQQ.The general solution of dxdy=x+sinxcosy+xcosy+sinx is (A) tan2x=2y2−cosy+C (B) tan2y=2x2−cosx+C (C) sec22y=2x2−cosx+C (D) tan2y=2x2+cosx+Cx
›Reveal solutionSolution
The given differential equation is separable after factoring. The solution is found by integrating both sides, leading to tan2y=2x2−cosx+C, which matches option (B).
The key is to notice that the right-hand side can be grouped into terms that depend only on x and terms that depend only on y. That’s the hallmark of a separable differential equation — and once you see the pattern, the integration is straightforward.
Let’s rewrite the equation:
dxdy=x+sinxcosy+xcosy+sinx
Group the terms cleverly:
dxdy=(x+sinx)+(sinxcosy+xcosy)
Factor cosy from the last two terms:
dxdy=(x+sinx)+cosy(x+sinx)
Now factor (x+sinx) out of the whole right-hand side:
dxdy=(x+sinx)(1+cosy)
This is clearly separable: the x-part is (x+sinx) and the y-part is (1+cosy).
- Separate the variables Bring all y terms to the left and x terms to the right:
1+cosydy=(x+sinx)dx
- Integrate both sides The left side uses a standard trigonometric identity. Recall:
1+cosy=2cos22y
So:
1+cosy1=2cos22y1=21sec22y
Therefore:
∫1+cosydy=21∫sec22ydy
Let u=y/2, then dy=2du, and:
21∫sec2u⋅2du=∫sec2udu=tanu+C=tan2y+C
The right side integrates easily:
- TG EAPCET 2024Set eng-2024-05-10-AN1 markMCQQ.If y=sinx+Acosx is the general solution of dxdy+f(x)y=secx, then an integrating factor of the differential equation is (A) secx (B) tanx (C) cosx (D) sinx
›Reveal solutionSolution
The given general solution is y=sinx+Acosx. Differentiating and substituting into the differential equation reveals f(x)=tanx, so the integrating factor is secx, which is option (A).
We are told that y=sinx+Acosx (where A is an arbitrary constant) is the general solution of
dxdy+f(x)y=secx.
Our goal is to find the integrating factor (I.F.) of this linear first-order ODE. The standard form is y′+P(x)y=Q(x), and the integrating factor is μ(x)=e∫P(x)dx. Here P(x)=f(x).
The key insight: If we already know the general solution, we can work backwards to find f(x) by differentiating the solution and plugging it into the equation. Then we compute the integrating factor directly.
-
Differentiate the given general solution
y=sinx+Acosx
dxdy=cosx−Asinx
-
Substitute into the differential equation
The equation is dxdy+f(x)y=secx.
So:
(cosx−Asinx)+f(x)(sinx+Acosx)=secx
- Group terms involving A and those without A Expand:
cosx−Asinx+f(x)sinx+Af(x)cosx=secx
Group constant (in A) terms: cosx+f(x)sinx
Group A terms: A(−sinx+f(x)cosx)
Since this must hold for all A (the solution is general), the coefficient of A must be zero. That gives:
−sinx+f(x)cosx=0⇒f(x)cosx=sinx⇒f(x)=tanx
- Verify the constant part With f(x)=tanx, the constant part becomes: cosx+tanx⋅sinx=cosx+cosxsin2x=cosxcos2x+sin2x=cosx1=secx …
-
- TG EAPCET 2026Set eng-2026-05-09-FN1 markMCQQ.If dxdy−x2+b2xy=−2x(x2+b), y(0)=12, y(1)=10, then sum of all possible values of b is (A) 1 (B) 4 (C) −3 (D) −1
›Reveal solutionSolution
This is a first-order linear ODE solved via an integrating factor; the two boundary conditions force a specific value of the parameter b, and the sum of all possible b values is −3.
We are given the differential equation
dxdy−x2+b2xy=−2x(x2+b),
with conditions y(0)=12 and y(1)=10. The parameter b is unknown, and we must find all possible b that allow both conditions to hold, then sum them.
Concept and intuition
This is a first-order linear ODE of the form
dxdy+P(x)y=Q(x).
The standard method: multiply by an integrating factor μ(x)=e∫P(x)dx to make the left side a perfect derivative. Here P(x)=−x2+b2x, so the integrating factor will simplify nicely because the numerator is the derivative of the denominator. The right-hand side is a polynomial times (x2+b), so after multiplication we’ll integrate easily.
The twist: we have two boundary conditions for a first-order ODE — that usually overdetermines the system. The parameter b must adjust so that both conditions are consistent. We’ll solve the ODE in terms of b and a constant C, then impose y(0)=12 and y(1)=10 to get equations that determine b.
Step-by-step solution
1. Identify P(x) and compute the integrating factor.
Rewrite the ODE as
dxdy+(−x2+b2x)y=−2x(x2+b).
So P(x)=−x2+b2x. Then
∫P(x)dx=−∫x2+b2xdx=−log∣x2+b∣+constant.
Thus the integrating factor is
μ(x)=e∫Pdx=e−log∣x2+b∣=x2+b1.
(We can drop absolute values since b will be chosen so that x2+b>0 on the interval containing 0 and 1, or we treat it as a formal algebraic factor.)
2. Multiply the ODE by μ(x).
x2+b1dxdy−(x2+b)22xy=−2x.
Notice the left side is exactly
dxd(x2+by).
Check: derivative of x2+by is x2+by′−(x2+b)22xy. Yes.
So we have
dxd(x2+by)=−2x.
3. Integrate both sides.
x2+by=∫(−2x)dx=−x2+C,
where C is an arbitrary constant.
Thus
y(x)=(x2+b)(−x2+C).
4. Apply the first condition y(0)=12.
At x=0:
y(0)=(0+b)(0+C)=bC=12⇒C=b12.
5. Apply the second condition y(1)=10.
At x=1:
y(1)=(1+b)(−1+C)=10.
Substitute C=b12:
(1+b)(−1+b12)=10.
6. Solve for b.
Simplify the left side:
- TG EAPCET 2026Set eng-2026-05-10-FN1 markMCQQ.If y=(x+x2+1)5 then 25y= (A) (x2+1)y2−xy1 (B) (x2+1)y2+xy1 (C) (x2+1)y2−2xy1 (D) (x2+1)y2+2xy1
›Reveal solutionSolution
The function y=(x+x2+1)5 is a power of an inverse hyperbolic sine, so its derivatives satisfy a simple recurrence. Differentiating twice and rearranging gives 25y=(x2+1)y2+xy1, which is option (B).
We have y=(x+x2+1)5. The expression inside the parentheses is the standard form for the inverse hyperbolic sine: sinh−1x=log(x+x2+1), so x+x2+1=esinh−1x. That means y=e5sinh−1x. This is a composition that makes differentiation clean: the derivative of sinh−1x is x2+11, and the chain rule will produce a pattern that eliminates the square root.
The key insight: instead of brute-force expanding, we can find a relation between y, y1=dxdy, and y2=dx2d2y by differentiating the defining equation. Notice that x+x2+1 satisfies a neat property: its reciprocal is x2+1−x. This will help us isolate derivatives.
- First derivative. Let u=x+x2+1. Then y=u5, and dxdu=1+x2+1x=x2+1x2+1+x=x2+1u. So by the chain rule:
y1=5u4⋅dxdu=5u4⋅x2+1u=x2+15u5=x2+15y.
Hence
x2+1y1=5y.(1)
- Second derivative. Differentiate (1) with respect to x. The left side is a product:
dxd(x2+1y1)=x2+1xy1+x2+1y2.
The right side differentiates to 5y1. So: …
- TG EAPCET 2023Set eng-2023-05-12-FN1 markMCQQ.The general solution of dxdy+yf′(x)−f(x)f′(x)=0,y=f(x) is (A) y=f(x)+1+ce−f(x) (B) y=ce−f(x) (C) y=f(x)−1+ce−f(x) (D) y=f(x)+cef(x)
›Reveal solutionSolution
This is a first-order linear ODE disguised by the presence of f(x) and f′(x). By rewriting it in standard form and using an integrating factor ef(x), the general solution simplifies to y=f(x)−1+ce−f(x), which corresponds to option (C).
We start with the given differential equation:
dxdy+yf′(x)−f(x)f′(x)=0,y=f(x).
Concept & Intuition
The equation looks messy because of the f(x) and f′(x) terms, but notice that f′(x) appears as a coefficient of y and also multiplied by f(x). This suggests we can rearrange it into the standard linear form dxdy+P(x)y=Q(x), where P(x) and Q(x) are functions of x only. Once in that form, the method of integrating factor works cleanly. The key trick: treat f(x) as some known function (we don't need its explicit form), and f′(x) as its derivative.
Step-by-step solution
- Rewrite the equation in standard linear form Bring the term −f(x)f′(x) to the right-hand side:
dxdy+f′(x)y=f(x)f′(x).
This is now of the form dxdy+P(x)y=Q(x) with P(x)=f′(x) and Q(x)=f(x)f′(x).
- Find the integrating factor The integrating factor μ(x) is given by e∫P(x)dx. Here:
∫P(x)dx=∫f′(x)dx=f(x)+C.
We only need one integrating factor, so take μ(x)=ef(x).
- Multiply through by the integrating factor
ef(x)dxdy+ef(x)f′(x)y=ef(x)f(x)f′(x).
The left-hand side is the derivative of yef(x) with respect to x (by the product rule, since dxdef(x)=ef(x)f′(x)). So we have:
dxd(yef(x))=ef(x)f(x)f′(x).
- Integrate both sides
yef(x)=∫ef(x)f(x)f′(x)dx.
Notice that the integrand is set up for a substitution: let u=f(x), then du=f′(x)dx, so:
∫euudu.
This is a standard integral. Use integration by parts: let w=u, dv=eudu, then dw=du, v=eu. So:
∫ueudu=ueu−∫eudu=ueu−eu+C=eu(u−1)+C. …
- TG EAPCET 2026Set eng-2026-05-11-FN1 markMCQQ.The general solution of the differential equation (2xy+y2)dy=(x2−y2)dx is (A) x3−3x2y−y3=c (B) x3−3x2y+y3=c (C) x3−3xy2+y3=c (D) x3−3xy2−y3=c
›Reveal solutionSolution
This is a homogeneous differential equation. Substituting y=vx reduces it to a separable form, and integrating gives the general solution x3−3xy2−y3=c, which matches option (D).
The given equation is (2xy+y2)dy=(x2−y2)dx. Notice that every term is of degree 2 — 2xy, y2, x2, y2 — so the equation is homogeneous. For a homogeneous equation, the standard trick is to set y=vx, which turns the equation into one where variables separate cleanly.
- Rewrite in standard form Bring the dx term to the left:
(2xy+y2)dy−(x2−y2)dx=0
Or equivalently,
dxdy=2xy+y2x2−y2
- Substitute y=vx Then dxdy=v+xdxdv. The right-hand side becomes:
2x(vx)+(vx)2x2−(vx)2=x2(2v+v2)x2(1−v2)=2v+v21−v2
So the equation is:
v+xdxdv=2v+v21−v2
- Separate variables Subtract v from both sides:
xdxdv=2v+v21−v2−v=2v+v21−v2−v(2v+v2)
Simplify the numerator:
1−v2−2v2−v3=1−3v2−v3
So:
xdxdv=2v+v21−3v2−v3
Now separate:
1−3v2−v32v+v2dv=xdx
- Integrate both sides The left-hand side is set up for a simple substitution. Let u=1−3v2−v3. Then du=(−6v−3v2)dv=−3(2v+v2)dv. Notice that 2v+v2 appears in the numerator, so:
1−3v2−v32v+v2dv=−31udu
Integrating:
∫−31udu=∫xdx
−31log∣u∣=log∣x∣+C
Multiply by −3:
log∣u∣=−3log∣x∣−3C …
- TG EAPCET 2022Set eng-2022-07-20-AN1 markMCQQ.If l and m are respectively the order and the degree of the differential equation f(x)y′′+g(x)y′=x4y whose general solution is y=ax2+blogx, then f(m)+g(m)= (A) 2l (B) l (C) 3m (D) 1+m
›Reveal solutionSolution
The key idea is to find the differential equation from its given general solution, then identify its order l and degree m, and finally evaluate f(m)+g(m) — the answer is l.
We are told that the general solution of the differential equation
f(x)y′′+g(x)y′=x4y
is y=ax2+blogx, where a and b are arbitrary constants. The functions f(x) and g(x) are not given explicitly — they are to be determined from the fact that this y satisfies the equation for all a,b.
The problem asks for f(m)+g(m), where l is the order and m is the degree of this differential equation. So we first need to find the differential equation itself.
- Find the derivatives of the given solution.
y=ax2+blogx
Differentiate:
y′=2ax+xb
Differentiate again:
y′′=2a−x2b
-
Eliminate the arbitrary constants a and b.
We have three equations: y, y′, y′′ in terms of a and b. We need one equation relating y, y′, y′′ and x alone — that is the differential equation.
From y′′=2a−x2b, we can solve for a and b in terms of y′′ and something else. But a cleaner way:
From y′=2ax+xb, multiply by x:
xy′=2ax2+b
From y=ax2+blogx, we have ax2=y−blogx. Substitute into xy′:
xy′=2(y−blogx)+b=2y−2blogx+b
This still has b. Instead, let's use y′′ directly.
From y′′=2a−x2b, multiply by x2:
x2y′′=2ax2−b
But 2ax2=2(y−blogx) from y=ax2+blogx. So:
x2y′′=2y−2blogx−b
This still contains b. We need another relation to eliminate b.
From y′=2ax+xb, multiply by x:
xy′=2ax2+b
And 2ax2=2(y−blogx). So:
xy′=2y−2blogx+b
Now subtract the x2y′′ equation from this? Let's do it systematically.
We have:
xy′=2y−2blogx+b(1)
x2y′′=2y−2blogx−b(2)
Subtract (2) from (1):
xy′−x2y′′=(2y−2blogx+b)−(2y−2blogx−b)=2b
So b=21(xy′−x2y′′).
Now add (1) and (2):
xy′+x2y′′=(2y−2blogx+b)+(2y−2blogx−b)=4y−4blogx
Substitute b:
xy′+x2y′′=4y−4(21(xy′−x2y′′))logx
xy′+x2y′′=4y−2(xy′−x2y′′)logx
Bring terms together:
xy′+x2y′′+2(xy′−x2y′′)logx=4y
Factor:
- TG EAPCET 2026Set eng-2026-05-11-AN1 markMCQQ.If the equation of the line joining the points A(x1,y1) and B(x2,y2) is ax+by=c and the distance between A and B is a2+b2, then c2= (A) x2y2x12+y12 (B) y1+y2x1+x2 (C) (x1y2−x2y1)2 (D) (x1x2−y1y2)2
›Reveal solutionSolution
The key idea is that the distance condition forces the line’s normal vector (a,b) to be exactly the vector from A to B, so the line equation becomes (x2−x1)x+(y2−y1)y=c, and plugging in either point gives c=x1x2−x12+y1y2−y12, which simplifies to (x1y2−x2y1)2 after using the distance condition. The correct option is (C).
Concept and intuition
We are told that the line through A(x1,y1) and B(x2,y2) has equation ax+by=c, and that the distance AB=a2+b2.
Normally, the distance between two points is (x2−x1)2+(y2−y1)2. The fact that this equals a2+b2 suggests that (a,b) is exactly the vector from A to B (or its negative). Because if the line’s normal vector (a,b) has the same length as the segment AB, and the line passes through both points, then the normal must be aligned with the direction of the segment — a very special condition. This lets us identify a and b up to sign, then find c by substituting either point.
Step-by-step reasoning
- Write the distance condition The distance between A and B is
AB=(x2−x1)2+(y2−y1)2.
We are given AB=a2+b2, so
(x2−x1)2+(y2−y1)2=a2+b2.(1)
- Use that both points lie on the line Since A and B satisfy ax+by=c, we have
ax1+by1=candax2+by2=c.(2)
Subtracting these gives
a(x2−x1)+b(y2−y1)=0.(3)
-
Interpret equation (3)
Equation (3) says the vector (a,b) is perpendicular to the vector (x2−x1,y2−y1). But from (1) their lengths are equal. Two perpendicular vectors of equal length? That forces them to be rotated by 90° relative to each other. In the plane, if a vector (u,v) has length L, then a perpendicular vector of the same length is either (−v,u) or (v,−u).
So we must have
(a,b)=±(−(y2−y1),x2−x1).
(Check: dot product (x2−x1)(−(y2−y1))+(y2−y1)(x2−x1)=0, and lengths match.)
- Find c using one point Take the positive sign (the negative sign will give the same c2). Then
a=−(y2−y1),b=x2−x1.
Plug into ax1+by1=c:
- TG EAPCET 2022Set eng-2022-07-18-AN1 markMCQQ.If the point (x,y) satisfies the equation 3+ix+i(x−2)−i=i−32y+i(1−3y), then x+y= (A) 4 (B) 2 (C) 0 (D) -2
›Reveal solutionSolution
The key idea is to simplify the given complex equation by rationalising denominators and equating real and imaginary parts, leading to x+y=2.
The problem gives an equation involving complex numbers, where x and y are real numbers. Our goal is to find x+y. The approach is to treat the equation as an equality of two complex numbers, simplify each side separately, and then equate the real and imaginary parts.
Let’s work through it step by step.
- Write the given equation clearly The equation is:
3+ix+i(x−2)−i=i−32y+i(1−3y)
Notice that i−3=−(3−i), which will be useful later.
- Simplify the left-hand side (LHS) First, combine the terms on LHS:
LHS=3+ix+i(x−2)−i
Write −i as a fraction with denominator 1:
LHS=3+ix+i(x−2)−3+ii(3+i)=3+ix+i(x−2)−i(3+i)
Simplify the numerator:
x+i(x−2)−i(3+i)=x+i(x−2)−3i−i2
Since i2=−1, we have −i2=−(−1)=1? Wait carefully: −i(3+i)=−3i−i2=−3i−(−1)=−3i+1. So:
Numerator=x+i(x−2)−3i+1=(x+1)+i[(x−2)−3]=(x+1)+i(x−5)
Thus:
LHS=3+i(x+1)+i(x−5)
- Simplify the right-hand side (RHS) The RHS is:
i−32y+i(1−3y)
Since i−3=−(3−i), we can write:
RHS=−(3−i)2y+i(1−3y)=−3−i2y+i(1−3y)
Alternatively, we could rationalise directly. Let’s keep it as is for now.
- Rationalise both sides Multiply numerator and denominator of LHS by the conjugate of 3+i, which is 3−i:
LHS=(3+i)(3−i)[(x+1)+i(x−5)](3−i)=9−i2[(x+1)+i(x−5)](3−i)=10[(x+1)+i(x−5)](3−i)
Expand the numerator:
(x+1)(3−i)+i(x−5)(3−i)=3(x+1)−i(x+1)+3i(x−5)−i2(x−5)
Since i2=−1, −i2(x−5)=(x−5). So:
=3x+3−i(x+1)+3ix−15i+x−5
Combine real parts: 3x+3+x−5=4x−2
Combine imaginary parts: −i(x+1)+3ix−15i=i(−x−1+3x−15)=i(2x−16)
Thus:
LHS=10(4x−2)+i(2x−16)
Now rationalise RHS. We have:
RHS=−3−i2y+i(1−3y)
Multiply numerator and denominator of the fraction by the conjugate 3+i:
3−i2y+i(1−3y)=(3−i)(3+i)[2y+i(1−3y)](3+i)=10[2y+i(1−3y)](3+i)
Expand the numerator:
2y(3+i)+i(1−3y)(3+i)=6y+2iy+3i(1−3y)+i2(1−3y)
Since i2=−1, the last term becomes −(1−3y)=−1+3y. So:
=6y+2iy+3i−9iy−1+3y
Combine real parts: 6y−1+3y=9y−1
Combine imaginary parts: 2iy+3i−9iy=i(2y+3−9y)=i(3−7y)
Thus:
3−i2y+i(1−3y)=10(9y−1)+i(3−7y)
Therefore:
🎓Unlock everything free for 14 days
- ✓Full step-by-step solutions
- ✓Concept-first explanations
- ✓Methods, shortcuts & mistakes
- ✓PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.