Work each problem on paper first. Click Show Solution only after you have attempted it. Each solution shows the full worked process, the LaTeX code, and a MATLAB command to verify.
Simplify: $\displaystyle \frac{4x^{-3}y^4}{8x^2 y^{-2}}$
Coefficients: $4/8 = 1/2$. Quotient rule: $x^{-3-2}=x^{-5}$, $y^{4-(-2)}=y^6$.
LaTeX: \frac{y^6}{2x^5}
syms x y; simplify(4*x^(-3)*y^4 / (8*x^2*y^(-2)))Simplify: $(3a^4 b^{-3})^{-2}$
Distribute $-2$: $3^{-2}a^{-8}b^{6}$.
LaTeX: \frac{b^6}{9a^8}
syms a b; simplify((3*a^4*b^(-3))^(-2))Evaluate: $64^{2/3}$
Denom 3 = cube root, numer 2 = power: $(\sqrt[3]{64})^2 = 4^2 = 16$.
LaTeX: 64^{2/3} = \left(\sqrt[3]{64}\right)^2 = 16
64^(2/3) % 16Simplify: $\displaystyle \frac{a^{5/6} \cdot a^{1/3}}{a^{1/2}}$
Common denom 6: $a^{5/6+2/6-3/6}=a^{4/6}=a^{2/3}$.
syms a; simplify(a^(5/6)*a^(1/3)/a^(1/2))Simplify: $\sqrt{98}+3\sqrt{2}-\sqrt{50}$
$\sqrt{98}=7\sqrt{2}$, $\sqrt{50}=5\sqrt{2}$: $7\sqrt{2}+3\sqrt{2}-5\sqrt{2}=5\sqrt{2}$.
syms x; simplify(sqrt(98)+3*sqrt(2)-sqrt(50))Rationalize: $\displaystyle \frac{6}{5-\sqrt{7}}$
Multiply by conjugate: $\frac{6(5+\sqrt{7})}{25-7}=\frac{6(5+\sqrt{7})}{18}$.
syms x; simplify(6/(5-sqrt(7)))Expand: $(4x+1)(2x^2-3x+5)$
Distribute each term: $8x^3-12x^2+20x+2x^2-3x+5$.
syms x; expand((4*x+1)*(2*x^2-3*x+5))Factor completely: $3x^3-75x$
GCF then difference of squares: $3x(x^2-25)$.
syms x; factor(3*x^3-75*x)Factor: $8x^3-27$
Difference of cubes with $a=2x$, $b=3$.
syms x; factor(8*x^3-27)Factor: $10x^2-11x-6$
$ac=-60$. Numbers: $4$ and $-15$. Group: $2x(5x+2)-3(5x+2)$.
syms x; factor(10*x^2-11*x-6)Factor completely: $x^4-81$
$(x^2+9)(x^2-9)=(x^2+9)(x+3)(x-3)$. $x^2+9$ is irreducible over $\mathbb{R}$.
syms x; factor(x^4-81)Simplify: $\displaystyle\frac{x^2-16}{x^2+2x-8}$
$\frac{(x+4)(x-4)}{(x+4)(x-2)}=\frac{x-4}{x-2}$, $x\neq -4$.
syms x; simplify((x^2-16)/(x^2+2*x-8))Add: $\displaystyle\frac{3}{x+2}+\frac{5}{x-3}$
LCD=$(x+2)(x-3)$: $\frac{3(x-3)+5(x+2)}{(x+2)(x-3)}=\frac{8x+1}{(x+2)(x-3)}$.
syms x; simplify(3/(x+2)+5/(x-3))Compute: $(5-3i)(2+7i)$
FOIL: $10+35i-6i-21i^2=10+29i+21$.
(5-3i)*(2+7i) % 31+29iDivide: $\displaystyle\frac{4-i}{2+3i}$
Conjugate: $\frac{(4-i)(2-3i)}{(2+3i)(2-3i)}=\frac{8-12i-2i+3i^2}{4+9}=\frac{5-14i}{13}$.
(4-1i)/(2+3i)Solve: $\displaystyle\frac{x}{4}-\frac{x+1}{6}=2$
LCD=12: $3x-2(x+1)=24$, so $x-2=24$.
syms x; solve(x/4-(x+1)/6==2,x)Solve for $h$: $V=\frac{1}{3}\pi r^2 h$
syms V r h; solve(V==pi*r^2*h/3,h)Solve by factoring: $x^2+3x-28=0$
$(x+7)(x-4)=0$.
syms x; solve(x^2+3*x-28==0,x)Solve: $5x^2-3x-1=0$
$D=9+20=29$.
LaTeX: x=\frac{3\pm\sqrt{29}}{10}
syms x; solve(5*x^2-3*x-1==0,x)Complete the square: $x^2-10x+7=0$
$(x-5)^2-25+7=0$, so $(x-5)^2=18$.
syms x; solve(x^2-10*x+7==0,x)Discriminant only: $4x^2+4x+1=0$
$D=16-16=0$. One repeated real root: $x=-\frac{1}{2}$.
a=4;b=4;c=1; D=b^2-4*a*c % 0Solve: $\sqrt{3x+4}=x+2$
Square: $3x+4=x^2+4x+4$, so $x^2+x=0$, $x(x+1)=0$. Check both: $x=0$ ✓, $x=-1$ ✓.
syms x; solve(sqrt(3*x+4)==x+2,x)Solve: $x^4-10x^2+9=0$
Let $u=x^2$: $(u-1)(u-9)=0$, so $u=1,9$.
syms x; solve(x^4-10*x^2+9==0,x)Solve: $-5(x-2)\geq 15$
$-5x+10\geq 15$, $-5x\geq 5$. Divide by $-5$ (flip!): $x\leq -1$.
syms x; solve(-5*(x-2)>=15,x,'ReturnConditions',true)Solve: $x^2+2x-15>0$
$(x+5)(x-3)>0$. Test intervals.
syms x; solve(x^2+2*x-15>0,x,'ReturnConditions',true)Solve: $\displaystyle\frac{x-2}{x+5}\leq 0$
Critical: $x=2$ (zero OK), $x=-5$ (excluded). Test intervals.
syms x; solve((x-2)/(x+5)<=0,x,'ReturnConditions',true)Solve: $|5x+3|=18$
$5x+3=18\Rightarrow x=3$. $5x+3=-18\Rightarrow x=-21/5$.
syms x; solve(abs(5*x+3)==18,x)Solve: $|3x-2|<7$
$-7<3x-2<7$, so $-5<3x<9$.
syms x; solve(abs(3*x-2)<7,x,'ReturnConditions',true)Solve: $|2x+1|\geq 9$
$2x+1\leq -9$ or $2x+1\geq 9$.
syms x; solve(abs(2*x+1)>=9,x,'ReturnConditions',true)Line through $(1,5)$ and $(4,-1)$.
$m=(-1-5)/(4-1)=-2$. Point-slope: $y-5=-2(x-1)$.
m=(-1-5)/(4-1); b=5-m*1; fprintf('y=%dx+%d\n',m,b)Line perpendicular to $y=\frac{2}{3}x+4$ through $(6,-1)$.
$m_\perp=-3/2$. $y+1=-\frac{3}{2}(x-6)$.
syms x; expand(-3/2*(x-6)+(-1))Center and radius: $x^2+y^2+10x-4y+13=0$
$(x^2+10x+25)+(y^2-4y+4)+13-25-4=0$, so $(x+5)^2+(y-2)^2=16$.
theta=linspace(0,2*pi,100); plot(-5+4*cos(theta),2+4*sin(theta)); axis equal$f(x)=x^2+3$, $g(x)=4x-1$. Find $(f\circ g)(x)$.
$f(g(x))=(4x-1)^2+3=16x^2-8x+1+3$.
syms x; f(x)=x^2+3; g(x)=4*x-1; expand(f(g(x)))Domain of $f(x)=\sqrt{5-3x}$.
$5-3x\geq 0$, so $x\leq 5/3$.
syms x; solve(5-3*x>=0,x,'ReturnConditions',true)Inverse of $f(x)=\frac{4x-3}{x+5}$.
Swap, solve: $x(y+5)=4y-3$, $xy-4y=-5x-3$, $y(x-4)=-(5x+3)$.
syms x; finverse((4*x-3)/(x+5))Even, odd, or neither: $f(x)=x^3-5x$
$f(-x)=-x^3+5x=-(x^3-5x)=-f(x)$.
syms x; f=x^3-5*x; isequal(simplify(subs(f,x,-x)),simplify(-f))Describe transformations: $g(x)=-2(x-4)^2+7$ relative to $f(x)=x^2$.
Shift right 4, vertical stretch ×2, reflect over $x$-axis, shift up 7. Vertex $(4,7)$, opens down.
Vertex form: $f(x)=3x^2+18x+23$
$3(x^2+6x)+23=3(x+3)^2-27+23$.
syms x; c=sym2poly(3*x^2+18*x+23); xv=-c(2)/(2*c(1))Center, semi-axes, foci: $\frac{(x-2)^2}{25}+\frac{(y+1)^2}{16}=1$
Center $(2,-1)$, $a=5$, $b=4$, $c=\sqrt{25-16}=3$. Horizontal major axis.
a=5;b=4;c=sqrt(a^2-b^2) % 3Asymptotes and foci: $\frac{x^2}{4}-\frac{y^2}{25}=1$
$a=2$, $b=5$. Asymptotes: $y=\pm\frac{5}{2}x$. $c=\sqrt{4+25}=\sqrt{29}$.
a=2;b=5;c=sqrt(a^2+b^2) % sqrt(29)All asymptotes: $f(x)=\frac{3x^2-x+2}{x^2-1}$
VA: $x=\pm 1$. HA: degrees equal, $y=3/1=3$.
syms x; limit((3*x^2-x+2)/(x^2-1),x,inf) % 3Slant asymptote: $g(x)=\frac{x^2-2x+3}{x+1}$
Long division: $\frac{x^2-2x+3}{x+1}=x-3+\frac{6}{x+1}$. VA: $x=-1$.
syms x; [q,r]=quorem(x^2-2*x+3,x+1,x) % q=x-3Divide: $(3x^3+2x^2-5x+4)\div(x+2)$
syms x; [q,r]=quorem(3*x^3+2*x^2-5*x+4,x+2,x)$x=2$ is a root of $f(x)=x^3-x^2-8x+12$. Factor completely.
Divide by $(x-2)$: $x^2+x-6=(x+3)(x-2)$.
syms x; factor(x^3-x^2-8*x+12)Find all rational roots: $2x^3+3x^2-8x+3=0$
Test $x=1$: $2+3-8+3=0$ ✓. Factor: $(x-1)(2x-1)(x+3)$.
syms x; solve(2*x^3+3*x^2-8*x+3==0,x)Decompose: $\frac{7x-1}{(x-2)(x+3)}$
$x=2$: $13=5A$, $A=13/5$. $x=-3$: $-22=-5B$, $B=22/5$.
syms x; partfrac((7*x-1)/((x-2)*(x+3)))Decompose: $\frac{2x^2+x-1}{(x+1)(x^2+4)}$
$A/(x+1)+(Bx+C)/(x^2+4)$. At $x=-1$: $A=0$. Expand and compare: $B=2$, $C=-1$.
syms x; partfrac((2*x^2+x-1)/((x+1)*(x^2+4)))Evaluate: $\log_4 64$, $\log_{1/3}9$, $\ln e^7$
$4^3=64\Rightarrow 3$. $(1/3)^{-2}=9\Rightarrow -2$. $\ln e^7=7$.
log(64)/log(4) % 3; log(9)/log(1/3) % -2; log(exp(7)) % 7Expand: $\ln\left(\frac{x^4\sqrt{y}}{z^3}\right)$
LaTeX: 4\ln x + \frac{1}{2}\ln y - 3\ln z
syms x y z; expand(log(x^4*sqrt(y)/z^3))Solve: $4^{x+1}=32$
$2^{2(x+1)}=2^5$, so $2x+2=5$.
syms x; solve(4^(x+1)==32,x)Solve: $e^{2x}-7e^x+10=0$
Let $u=e^x$: $(u-2)(u-5)=0$.
syms x; solve(exp(2*x)-7*exp(x)+10==0,x)Solve: $\log_3(x+1)+\log_3(x-3)=3$
$(x+1)(x-3)=27$, $x^2-2x-30=0$, $x=1\pm\sqrt{31}$. Domain: $x>3$, only $1+\sqrt{31}\approx 6.57$ ✓.
syms x; solve(log(x+1)/log(3)+log(x-3)/log(3)==3,x)$8000 at 5% compounded quarterly. Time to reach $15000?
$15000=8000(1.0125)^{4t}$, $\ln 1.875=4t\ln 1.0125$.
t=log(15000/8000)/(4*log(1.0125)) % 12.63Solve: $5x+2y=11$, $3x-4y=1$
Multiply first by 2, add: $13x=23$.
A=[5 2;3 -4]; b=[11;1]; x=A\bRREF: $x+3y-z=4$, $2x-y+2z=1$, $3x+2y+z=5$
rref([1 3 -1 4;2 -1 2 1;3 2 1 5])Solve: $x^2+y^2=20$, $y=x+2$
$x^2+(x+2)^2=20$, $2x^2+4x-16=0$, $(x+4)(x-2)=0$.
syms x y; solve([x^2+y^2==20,y==x+2],[x,y])Solve: $xy=18$, $x+y=9$
$x(9-x)=18$, $x^2-9x+18=0$, $(x-3)(x-6)=0$.
syms x y; solve([x*y==18,x+y==9],[x,y])A boat: 48 km downstream in 3 hrs, 48 km upstream in 4 hrs. Find boat speed and current.
$b+c=16$, $b-c=12$. Add: $2b=28$.
syms b c; solve([b+c==16,b-c==12],[b,c])Solve: $\frac{x^2}{4}+\frac{y^2}{9}=1$, $y=x+1$
$9x^2+4(x+1)^2=36$, $13x^2+8x-32=0$.
syms x y; solve([x^2/4+y^2/9==1,y==x+1],[x,y])Half-life 6 hours, starting 500g. How much after 15 hours?
$N=500\cdot 2^{-15/6}=500\cdot 2^{-2.5}=500/(4\sqrt{2})$.
LaTeX: N(t)=N_0 e^{-t\ln 2/t_{1/2}}
N0=500;t_half=6;t=15; N=N0*exp(-log(2)*t/t_half) % 88.39