From 1d636f260bfb45bf87e4801845f38baef7e14cd4 Mon Sep 17 00:00:00 2001 From: thing1 Date: Thu, 13 Mar 2025 19:47:18 +0000 Subject: started math crib page --- maths/cribs/differentiation/Makefile | 6 ++ maths/cribs/differentiation/images/convimg | 4 + maths/cribs/differentiation/tbl:writeup.ms | 0 maths/cribs/differentiation/writeup.ms | 121 +++++++++++++++++++++++++++++ 4 files changed, 131 insertions(+) create mode 100644 maths/cribs/differentiation/Makefile create mode 100755 maths/cribs/differentiation/images/convimg create mode 100644 maths/cribs/differentiation/tbl:writeup.ms create mode 100644 maths/cribs/differentiation/writeup.ms (limited to 'maths/cribs/differentiation') diff --git a/maths/cribs/differentiation/Makefile b/maths/cribs/differentiation/Makefile new file mode 100644 index 0000000..c3461eb --- /dev/null +++ b/maths/cribs/differentiation/Makefile @@ -0,0 +1,6 @@ +test: writeup.ms + groff -t -e -Tps -ms writeup.ms > writeup.ps + ps2pdf writeup.ps + rm writeup.ps +clean: + rm writeup.pdf diff --git a/maths/cribs/differentiation/images/convimg b/maths/cribs/differentiation/images/convimg new file mode 100755 index 0000000..ca7e97b --- /dev/null +++ b/maths/cribs/differentiation/images/convimg @@ -0,0 +1,4 @@ +#!/bin/bash +for i in $(ls *.png); do + magick $i $i.eps; +done diff --git a/maths/cribs/differentiation/tbl:writeup.ms b/maths/cribs/differentiation/tbl:writeup.ms new file mode 100644 index 0000000..e69de29 diff --git a/maths/cribs/differentiation/writeup.ms b/maths/cribs/differentiation/writeup.ms new file mode 100644 index 0000000..80562a9 --- /dev/null +++ b/maths/cribs/differentiation/writeup.ms @@ -0,0 +1,121 @@ +.2C + +.NH +Differentiating standard equations +.EQ L +dy over dx = n x sup n-1 +.EN +.NH 2 +Example +.LP +Define the equation +.EQ L +y = 5 x sup 2 + 19 x + 8 +.EN +Use the formula +.EQ L +dy over dx = 10 x + 19 +.EN +Its very simple +.NH +Differentiating trig equations +.LP +From the chain rule, one can find the following: +.EQ L +sin(kx) -> k cos(kx) +.EN +.EQ L +cos(kx) -> -k sin(kx) +.EN +.EQ L +tan(kx) -> k sec sup 2 (kx) +.EN +.EQ L +sec(kx) -> k sec(kx) tan(kx) +.EN +.EQ L +cot(kx) -> -k cosec sup 2 (kx) +.EN +.EQ L +cosec(kx) -> -k cosec(kx) cot(kx) +.EN +.NH +Chain rule +.EQ L +dy over dx = dy over dt times dt over dx +.EN +.NH 2 +Example +.LP +Define the function +.EQ L +y =sin sup 2 (9x) +.EN +Re-write y in terms of t +.EQ L +Y =sin sup 2 (t) +.EN +Define t +.EQ L +t = 9x +.EN +Differentiate y with respect to t +.EQ L +dy over dt = 2cos(t) +.EN +Differentiate y with respect to x +.EQ L +dt over dx = 9 +.EN +Times the two together +.EQ L +dy over dx = 2cos(t) times 9 +.EN +Substute the original t back in +.EQ L +dy over dx = 18cos(9x) +.EN + +.NH +Product rule + +.EQ L +"when " y = u v +.EN +.EQ L +dy over dx = ( v prime times u ) + ( v times u prime ) +.EN +.NH 2 +Example + +.LP +Define the equation +.EQ L +y = sin(x) cos(x) +.EN +Define u and v +.EQ L +u = sin(x) +.EN +.EQ L +v = cos(x) +.EN +Differentiate indiviually +.EQ L +u prime = cos(x) +.EN +.EQ L +v prime = -sin(x) +.EN +Put into the formula +.EQ L +( v prime times u ) + ( v times u prime ) = -sin(x)sin(x) + cos(x)cos(x) +.EN +Simplify +.EQ L +dy over dx = -sin sup 2 (x) +cos sup 2 (x) +.EN +.EQ L +dy over dx = cos(2x) +.EN + -- cgit v1.2.3