Of course math serves the family!   All of math and science are supposed to serve the family. Math solves all sorts of problems..and even prevents problems for families.  

We need to give back to God His gifts to us!  We need to give them back their holy and noble purpose. 

Knowledge is a gift of the Holy Spirit.  The Gift of Knowledge (aka the gift of science) "leads to a deeper understanding of created things, precisely as coming from God, and how they are related to man’s supernatural end: for example, to see clearly all things and happenings as providential and in what way".   Knowledge of created things allows us to judge these things properly for what they are and what they were intended to be according to the divine plan.

If someone is using math to calculate more efficient network paths and software load balancing FOR the distribution of pornography, then one is not using math for its intended purpose. 

Because porn destroys family life!