How much maths a computer science degree actually needs
A CS degree in Kenya requires discrete maths, calculus, linear algebra, and probability. The load is real but manageable. Discrete maths is the most useful for programming. Calculus and linear algebra feel abstract until you hit machine learning or graphics. If you passed KCSE maths, you can handle CS maths with consistent study.
The maths units you will actually take
The exact units vary by university, but most Kenyan CS programmes include:
- Discrete mathematics. Logic, set theory, graph theory, combinatorics, and proof techniques. This is the most programming-relevant maths you will study. If-else logic, data structures, and algorithm analysis all build on discrete maths concepts.
- Calculus. Usually one or two units covering differentiation, integration, and series. Calculus feels disconnected from coding until you work on physics simulations, optimization, or machine learning. For most developer roles, you will not use calculus daily, but you need to pass the units.
- Linear algebra. Vectors, matrices, and transformations. Critical for machine learning, computer graphics, and data science. If you plan to work in any of these areas, linear algebra is the most important maths course in your degree.
- Probability and statistics. Distributions, hypothesis testing, and regression. Used in data analysis, AI, and any role that involves making decisions from data.
Some universities add numerical methods or mathematical modelling. These are less common but not harder than the core units.
Which units students struggle with and why
Calculus is where many students hit a wall. The jump from KCSE maths to university calculus is steep, especially if your high school did not cover the syllabus thoroughly. The concepts are not impossible, but the pace is fast, and falling behind by two weeks can feel like falling behind by a month.
Discrete maths trips up students who expect it to look like the maths they know. There are no quadratic equations. Instead, you write proofs, work with sets, and analyse graphs. It requires a different kind of thinking. Students who enjoy puzzles and logic tend to find it easier.
Linear algebra is abstract. Matrices and vector spaces do not feel connected to anything until you use them in a project. The danger is memorising procedures without understanding what they mean. If you learn the concepts, the procedures make sense. If you memorise, you forget by exam week.
The common thread: students struggle when they fall behind and try to catch up by cramming. Maths builds on itself. Miss one concept and the next three do not make sense. Consistent daily study prevents most maths failures.
How to pass CS maths if it is not your strength
Attend every lecture. Maths lectures are not optional. Missing one creates a gap that YouTube cannot always fill. If your lecturer is hard to follow, attend anyway and supplement with videos later.
Do the exercises, not just the examples. Reading solved examples feels like understanding. It is not. You understand maths when you can solve problems without looking at the solution. Do every exercise in the handout, then find more online.
Form a study group. Study groups work for maths too. Explaining a concept to someone else is the fastest way to discover whether you actually understand it.
Use free resources. Khan Academy covers calculus and linear algebra clearly. 3Blue1Brown makes linear algebra visual and intuitive. MIT OpenCourseWare has full lecture sets for every CS maths unit. These are not replacements for class. They are supplements for the parts you did not understand.
Get help early. If you are lost after week two, do not wait until week eight. Talk to your lecturer, find a tutor, or ask a classmate. Being bad at maths is not permanent. It usually means you missed a foundation somewhere, and a good explanation can fix it.
What to do this week
- Look up the maths units in your specific CS programme so you know what is coming.
- If you are in a maths unit right now, make sure you are not more than one week behind.
- Bookmark one free resource (Khan Academy, 3Blue1Brown) for the maths unit you find hardest.
Frequently Asked Questions
- Can I do CS if I got a C in KCSE maths?
- Yes. KCSE maths and university maths overlap in some areas but differ in others. Discrete maths, for example, has almost no KCSE equivalent. A C in KCSE means you need to work harder in first year, but it does not mean you cannot succeed. Many strong developers had average high school maths grades.
- Will I use maths as a working developer?
- It depends on your role. Web developers and mobile developers rarely use calculus. Machine learning engineers use linear algebra and statistics daily. All developers use logic, which is discrete maths. The degree requires you to learn it all, but your career will use some parts more than others.
- Is BBIT maths easier than CS maths?
- Yes. BBIT typically requires business statistics and basic quantitative methods, which are lighter than CS maths. If maths is your primary concern, BBIT has a lower load. But read the BBIT vs CS comparison before choosing a degree based on maths alone.
Related articles
Learning to code when you struggled with maths: an honest answer
Can you learn to code if you were bad at maths? An honest answer for Kenyan university students who struggled with maths in secondary school or first year.
First year of a computer science degree in Kenya: what the units cover and what they leave out
What your first year of computer science actually covers at a Kenyan university, what the syllabus leaves out, and how to fill the gaps yourself.
Computer science vs IT vs software engineering vs computer technology in Kenya: what the labels mean
CS vs IT vs software engineering vs computer technology in Kenya. What each degree covers, which leads where, and how to choose between them.
